package com.wonders.hisdoctor.station.project.vaccine.service;

import com.wonders.hisdoctor.station.project.vaccine.domain.VaccineStock;
import com.wonders.hisdoctor.station.project.vaccine.vo.SetStatusVo;
import com.wonders.hisdoctor.station.project.vaccine.vo.VaccineStockRequestVo;
import com.wonders.hisdoctor.station.project.vaccine.vo.VaccineStockVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 疫苗库存表 服务类
 * </p>
 *
 * @author zhanghaonan
 * @since 2021/06/25
 */
public interface IVaccineStockService {

    /**
     * @Author zhanghaonan
     * @Date 2021/6/25
     * @Description  保存
     * @Param vaccineStock
     * @return int
     **/
    int save(VaccineStock vaccineStock, HttpServletRequest request);

    /**
     * @Author zhanghaonan
     * @Date 2021/6/25
     * @Description  修改
     * @Param vaccineStock,request
     * @return int
     **/
    int update(VaccineStock vaccineStock, HttpServletRequest request);

    /**
     * @Author zhanghaonan
     * @Date 2021/6/25
     * @Description  主键查询
     * @Param vaccineStock
     * @return com.wonders.hisdoctor.station.project.vaccine.domain.VaccineStock
     **/
    VaccineStock getById(VaccineStock vaccineStock);

    /**
     * @Author zhanghaonan
     * @Date 2021/6/25
     * @Description  主键删除
     * @Param vaccineStock
     * @return int
     **/
    int removeById(VaccineStock vaccineStock, HttpServletRequest request);

    /**
     * @Author zhanghaonan
     * @Date 2021/6/25
     * @Description  模糊查询
     * @Param vo
     * @return java.util.List<com.wonders.hisdoctor.station.project.vaccine.vo.VaccineStockVo>
     **/
    List<VaccineStockVo> search(VaccineStockRequestVo vo);

    /**
     *  设置疫苗状态
     * @param vo
     * @param request
     * @return
     */
    int setStatus(SetStatusVo vo, HttpServletRequest request);
}
